<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title>Vue中的数据代理</title>
        <script type="text/javascript" src="../js/vue.js"></script>
    </head>

    <body>
        <div id="root">
            <h1>姓名：{{name}}</h1>
            <h1>地址：{{address}}</h1>
        </div>

        <script type="text/javascript">
            let data = {
                    name:'南京工业大学111',
                    address:'江苏省南京市浦珠南路30号'
                }
           const vm = new Vue({
                el:'#root',
                data
            })
            
            console.log(data === vm._data)
        </script>
    </body>
</html>